package edu.njust.LabSystem.entity;


public class Teacher {

  private String id;
  private String name;
  private String pwd;
  private String major;
  private String mail_address;
  private String phone;

  public Teacher() {
  }

  public Teacher(String id, String name, String pwd) {
    this.id = id;
    this.name = name;
    this.pwd = pwd;
  }

  public Teacher(String id, String name, String pwd, String major, String mail_address, String phone) {
    this.id = id;
    this.name = name;
    this.pwd = pwd;
    this.major = major;
    this.mail_address = mail_address;
    this.phone = phone;
  }

  @Override
  public String toString() {
    return "Teacher{" +
            "id='" + id + '\'' +
            ", name='" + name + '\'' +
            ", pwd='" + pwd + '\'' +
            ", major='" + major + '\'' +
            ", mail_address='" + mail_address + '\'' +
            ", phone='" + phone + '\'' +
            '}';
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }


  public String getMajor() {
    return major;
  }

  public void setMajor(String major) {
    this.major = major;
  }


  public String getMail_address() {
    return mail_address;
  }

  public void setMail_address(String mail_address) {
    this.mail_address = mail_address;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

}
